package types

type ResourceStatus int

const (
	ResourceStatusHidden ResourceStatus = iota
	ResourceStatusPublic
	ResourceStatusBanned
	ResourceStatusPending
	ResourceStatusDenied
)

type Resource struct {
	ID               string         `json:"id"`
	Name             string         `json:"name"`
	ShortDescription string         `json:"short_description"`
	Description      string         `json:"description"`
	Avatar           string         `json:"avatar,omitempty"`
	ShortLink        string         `json:"shortLink,omitempty"`
	InviteLink       string         `json:"inviteLink"`
	PremiumActive    bool           `json:"premiumActive"`
	PremiumSplashURL string         `json:"premiumSplashURL,omitempty"`
	PremiumAutoFetch bool           `json:"premiumAutoFetch,omitempty"`
	StandardBannerID int            `json:"standardBannerID"`
	Owner            string         `json:"owner"`
	Status           ResourceStatus `json:"status"`
}
